07a73c38bdb2de479a60db98d487f9b859617a31,OsmAnd/src/net/osmand/plus/activities/ShowRouteInfoActivity.java,ShowRouteInfoActivity,onOptionsItemSelected,#MenuItem#,87

Before Change


              final Intent sendIntent = new Intent();
              sendIntent.setAction(Intent.ACTION_SEND);
              sendIntent.putExtra(Intent.EXTRA_TEXT, GPXUtilities.asString(gpx, getMyApplication()));
              sendIntent.putExtra(Intent.EXTRA_SUBJECT, getString(R.string.share_route_subject));
              sendIntent.setType("application/gpx+xml");
              startActivity(sendIntent);
            return true;

After Change


				sendIntent.setAction(Intent.ACTION_SEND);
				sendIntent.putExtra(Intent.EXTRA_TEXT, Html.fromHtml(generateHtml(((RouteInfoAdapter)getListAdapter()), 
						helper.getGeneralRouteInformation()).toString()));
				sendIntent.putExtra(Intent.EXTRA_SUBJECT, getString(R.string.share_route_subject));
				sendIntent.putExtra(Intent.EXTRA_STREAM, fileUri);
				sendIntent.putExtra(
						Intent.EXTRA_STREAM,
						FileProvider.getUriForFile(ShowRouteInfoActivity.this,
								ShowRouteInfoActivity.this.getPackageName() + ".fileprovider", dst));
				sendIntent.setType("text/plain");
				startActivity(sendIntent);
			} catch (IOException e) {